package com.ppz.exception;

//系统异常
//发送固定消息传递给用户，安抚用户
// 如系统繁忙，请稍后再试，统正在维护升级，请稍后再试，系统出问题，请联系系统管理员
public class SystemException extends  RuntimeException{
    private Integer code;
    public Integer getCode() {
        return code;
    }
    public void setCode(Integer code) {
        this.code = code;
    }
    public SystemException(Integer code, String message) {
        super(message);
        this.code = code;
    }
    public SystemException(Integer code, String message, Throwable cause) {
        super(message, cause);
        this.code = code;
    }
}
